Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 1ca2493c36ce802904c0a0fd47e327b0c09d2659


Parents : 38bbf19
Author : Mark Qvist <mark@unsigned.io>
Date : 2021-12-01T19:28:27+01:00

Added makefile

Changes

1 files changed, 23 insertions(+), 0 deletions(-)

A Makefile +23

Diff

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8d3e67a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+all: release
+
+clean:
+ @echo Cleaning...
+ -rm -r ./build
+ -rm -r ./dist
+
+remove_symlinks:
+ @echo Removing symlinks for build...
+ -rm ./RNS
+
+create_symlinks:
+ @echo Creating symlinks...
+ -ln -s ../Reticulum/RNS ./
+
+build_wheel:
+ python3 setup.py sdist bdist_wheel
+
+release: remove_symlinks build_wheel create_symlinks
+
+upload:
+ @echo Uploading to PyPi...
+ twine upload dist/*


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────